package com.ruoyi.exportCustomer.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 导入记录业务对象 t_export_log
 *
 * @author ruoyi
 * @date 2023-08-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ExportLogBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 批次号
     */
    @NotBlank(message = "批次号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pc;

    /**
     * 成功数
     */
    @NotBlank(message = "成功数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sucessCnt;

    /**
     * 失败数据
     */
    @NotBlank(message = "失败数据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String errorCnt;

    /**
     * 表名称
     */
    @NotBlank(message = "表名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tabName;


}
